package com.rc.saas.tenant.model.rc;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;

public class RcOperatorAccountRecord extends BaseModel {
    private Long operatorAccountRecordId;

    private String tenantCode;

    //流水类型 '0充值 1支出 默认0'
    private String recordType;

    //摘要 '充值/加盟商结算/提成收益提现/支付成本手续费/手续费/退款'
    private String explains;

    //订单流水号
    private String orderNum;

    //来源 '0平台 1微信 默认0'
    private String recordSource;

    private BigDecimal amount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    private Long entryId;

    private String entryName;

    private String entryType;

    private BigDecimal entryAccount;

    private String entryAccountNum;

    private String entryBank;

    private Long outId;

    private String outName;

    private String outType;

    private BigDecimal outAccount;

    private String outAccountNum;

    private String outBank;

    private String status;

    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    private String createdBy;

    private String lastUpdatedBy;

    private Date lastUpdatedTime;

    public Long getOperatorAccountRecordId() {
        return operatorAccountRecordId;
    }

    public void setOperatorAccountRecordId(Long operatorAccountRecordId) {
        this.operatorAccountRecordId = operatorAccountRecordId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getRecordType() {
        return recordType;
    }

    public void setRecordType(String recordType) {
        this.recordType = recordType;
    }

    public String getExplains() {
        return explains;
    }

    public void setExplains(String explains) {
        this.explains = explains;
    }

    public String getRecordSource() {
        return recordSource;
    }

    public void setRecordSource(String recordSource) {
        this.recordSource = recordSource;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Long getEntryId() {
        return entryId;
    }

    public void setEntryId(Long entryId) {
        this.entryId = entryId;
    }

    public String getEntryName() {
        return entryName;
    }

    public void setEntryName(String entryName) {
        this.entryName = entryName;
    }

    public String getEntryType() {
        return entryType;
    }

    public void setEntryType(String entryType) {
        this.entryType = entryType;
    }

    public BigDecimal getEntryAccount() {
        return entryAccount;
    }

    public void setEntryAccount(BigDecimal entryAccount) {
        this.entryAccount = entryAccount;
    }

    public String getEntryAccountNum() {
        return entryAccountNum;
    }

    public void setEntryAccountNum(String entryAccountNum) {
        this.entryAccountNum = entryAccountNum;
    }

    public String getEntryBank() {
        return entryBank;
    }

    public void setEntryBank(String entryBank) {
        this.entryBank = entryBank;
    }

    public Long getOutId() {
        return outId;
    }

    public void setOutId(Long outId) {
        this.outId = outId;
    }

    public String getOutName() {
        return outName;
    }

    public void setOutName(String outName) {
        this.outName = outName;
    }

    public String getOutType() {
        return outType;
    }

    public void setOutType(String outType) {
        this.outType = outType;
    }

    public BigDecimal getOutAccount() {
        return outAccount;
    }

    public void setOutAccount(BigDecimal outAccount) {
        this.outAccount = outAccount;
    }

    public String getOutAccountNum() {
        return outAccountNum;
    }

    public void setOutAccountNum(String outAccountNum) {
        this.outAccountNum = outAccountNum;
    }

    public String getOutBank() {
        return outBank;
    }

    public void setOutBank(String outBank) {
        this.outBank = outBank;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }
}